tests/test-admin-deploy-none: Split grub.cfg directory and file creation
authorRobert Fairley <rfairley@redhat.com>
Wed, 3 Apr 2019 16:25:04 +0000 (12:25 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 24 Apr 2019 21:29:39 +0000 (21:29 +0000)
commit42573eae5989dd5f67c341877ef2ee37ef8f24c0
treec00ce8cd40e9f6c43f5cb060ac005376ae6a3568
parent144e99ce47041fbc29c648bafe06121bbdc5ada2
tests/test-admin-deploy-none: Split grub.cfg directory and file creation

Split the creation of the directory containing grub.cfg, and the creation
of the file, so that a failure in the mkdir command will fail the test
and not attempt the touch command.

Closes: #1831
Approved by: jlebon
tests/test-admin-deploy-none.sh